import requests


def __query_info__():
    # URL 地址
    url = 'http://10.10.80.200:7944/api/eventmonitor/superviseconfig/superviseConfigFlag/56856'

    # headers = {
    #     'Content-Type': 'application/json',  # 如果你发送的是JSON数据
    #     'combine-token': '12a805a7-d35f-47f3-a136-814d06682e15,76f9f1fc-130f-4b97-b517-1046dc855f2e'
    # }

    # JSON 数据

    # data = {
    #     "alarmId": "",
    #     "eventTime": "2024-12-18 09:37:01",
    #     "sheetNo": "GS-906-230619-00003",
    #     "opAlarmId": "",
    #     "opEventtime": "2024-12-18 09:37:01",
    #     "opSheetNo": "GS-906-230526-00010",
    #     "key_alarm_flag": "",
    #     "operateType": "1"
    # }

    # 发送 POST 请求
    response = requests.get(url)

    # 打印响应的内容
    print(response.text)


if __name__ == '__main__':
    __query_info__()
